<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>匹配列表</title>
<link rel="stylesheet" type="text/css"
	href="<?=base_url()?>public/css/style.css">
<script type="text/javascript"
	src="<?=base_url()?>public/js/jq.1.12.4.js"></script>
<script type="text/javascript" src="<?=base_url()?>public/js/js.js"></script>

<style>
.person1 table tr .caozuo {
	position: relative;
	cursor: pointer;
	line-height: 20px;
}

.person1 table tr .caozuo b {
	font-weight: normal;
}
</style>

<style type="text/css">
#page{height:32px;line-height:32px;margin-top:15px;margin-bottom:15px;text-align:left;}
#page a{background:#fff;border-radius:5px;float:left;display:block;padding:0 12px;line-height:32px;border:1px solid #ddd;margin-right:5px;font-size:12px;font-weight:bold;color:#444;}
#page a:hover{background:#f6f6f6}
#page a.cur{color:red;background:#444;border:1px solid #444;color:#fff;}
#page a.noborder{border:none;margin:0 2px;}


</style>

</head>
<body>
	<!-- 头部 -->
	<?php echo $menu?>
	<!-- 主体 -->
	<div class="main clearfix">
		<?php echo $left?>
		<div class="content">
			<div class="con">
				<div class="bikuang">
					<div class="right_title">
						<span>出入局管理&nbsp;&nbsp; -<span style="color: #1d3e00; margin: 0;">&nbsp;&nbsp;匹配列表</span></span>
					</div>
					<div class="person1">
						<table cellpadding="0" cellspacing="0">
							<tr>
								<th>公益编号</th>
								<th>提供公益编号</th>
								<th>提供人账号</th>
								<th>接受公益编号</th>
								<th>接受人账号</th>
								<th>合作日期</th>
								<th>合作金额</th>
								<th>打款时间</th>
								<th>收款时间</th>
								<th>状态</th>
							</tr>
                            <?php foreach($log_list as $log): ?>
                            <tr>
								<td><?php echo $log['bianhao'] ?></td>
								<?php 
								$offer = $this->order_model->offer_order_by_id ( $log['offer_order_id'] );
								
								$u = $this->user_model->get_user_info_id ( $offer['user_id'] );
								?>
								<td><?php echo $offer['bianhao'] ?></td>
								<td><?php echo $u['user_account'] ?></td>
								<?php 
								$accept = $this->order_model->accept_order_by_id ( $log['accept_order_id'] );
								
								$u = $this->user_model->get_user_info_id ( $accept['user_id'] );
								?>
								<td><?php echo $accept['gy_bianhao'] ?></td>
								<td><?php echo $u['user_account'] ?></td>
								<td class="number"><?php echo date('Y-m-d H:i:s',$log['create_time']) ?></td>
								<td><?php echo $log['money'] ?></td>
								<td><?php echo date('Y-m-d H:i:s',$log['dakuan_time']) ?></td>
								<td>
									<?php echo date('Y-m-d H:i:s',$log['shoukuan_time']) ?>
                                </td>
                                
								
								
								
								<td></td>
							</tr>
                            <?php endforeach; ?>
                        </table>
					</div>
					<?php echo $multi;?>
				</div>
			</div>
		</div>
	</div>
	
</body>
</html>